package com.ruoyi.api.service;

import com.ruoyi.api.vo.*;

import java.util.List;

public interface VimGroupApiService {

    List<Group> getGroups(String userId);

    List<User> getUsers(String groupId);

    Group get(String groupId);

    boolean addUsers(String groupId,String[] userIds);

    boolean delUsers(String groupId,String[] userIds);

    int del(String groupId);

    Group save(Group group);

    int update(Group group);

    List<String> selectgroup(Long userId);

    CurrentGroup selectUserLocation(String id);

    List<Long> getGroupsId(String userId);

    UnGroup selectunread(String userId, Long aLong);

    String selectById(Long aLong);
}
